﻿using B.S.BasicData.API.Read.DTOS.Leave;
using B.S.BasicData.ErrorCode;
using MediatR;

namespace B.S.BasicData.API.Read.Application.Command.Leave
{
    /// <summary>
    /// 查看个人在某个月的请假信息请求命令
    /// </summary>
    public class GetLeavePresonDataCommand:IRequest<ApiResult<List<LeaveDTO>>>
    {
        /// <summary>
        /// 申请人
        /// </summary>
        public string leaveName {  get; set; }
        /// <summary>
        /// 请假月份
        /// </summary>
        public string startMonth { get; set; }
    }
}
